package dslab.transfer;

import dslab.core.Shutdownable;

/**
 * the transfer server is responsible for accepting mails sent by users, and forward them to mailbox servers via DMTP
 * it also reports usage statistics to the monitoring server
 *
 * do not change the existing method signatures!
 */
public interface ITransferServer extends Runnable, Shutdownable {

    /**
     * starts the server
     */
    @Override
    void run();

    /**
     * stops the server
     */
    @Override
    void shutdown();
}
